﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using CSF.BusinessCore.Data;

namespace CSF.Sales.Data
{
    /// <summary>
    /// Author: Robin
    /// Create Date: 2011-9-15
    /// 购物车物品类
    /// </summary>
    public class ShopCart : Transaction
    {
        /// <summary>
        /// 网店Id
        /// </summary>
        public int ApplicationId { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 产品型号id
        /// </summary>
        public int ProductModelId { get; set; }

        /// <summary>
        /// 货币代码
        /// </summary>
        public string CurrencyCode { get; set; }

        /// <summary>
        /// 当时的汇率
        /// </summary>
        public decimal ExchangeRate { get; set; }

        /// <summary>
        /// 单价（含税费）
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Qty { get; set; }

        /// <summary>
        /// 单位代码
        /// </summary>
        public string UnitCode { get; set; }

        /// <summary>
        /// 已包含的运费
        /// </summary>
        public decimal Freight { get; set; }

        /// <summary>
        /// 已包含的税金
        /// </summary>
        public decimal Duty { get; set; }

        /// <summary>
        /// 已包含的折扣金额
        /// </summary>
        public decimal Discount { get; set; }

        /// <summary>
        /// 客户id
        /// </summary>
        public int CustomerId { get; set; }

        /// <summary>
        /// 区域代码
        /// </summary>
        public string RegionCode { get; set; }

        /// <summary>
        /// 区域因子
        /// </summary>
        public decimal RegionFactor { get; set; }

        /// <summary>
        /// 材质1
        /// </summary>
        public int Material1 { get; set; }

        /// <summary>
        /// 材质2
        /// </summary>
        public int Material2 { get; set; }

        /// <summary>
        /// 材质3
        /// </summary>
        public int Material3 { get; set; }

        /// <summary>
        /// 材质价格
        /// </summary>
        public decimal MaterialPrice { get; set; }

        /// <summary>
        /// 特殊要求说明
        /// </summary>
        public string Remarks { get; set; }
    }
}
